package com.zhuang.chapter18;

public class Resume {
	private String name;

	private String sex;

	private int age;

	public Resume() {

	}

	public Resume(String name, String sex, int age) {
		super();
		this.name = name;
		this.sex = sex;
		this.age = age;
	}

	public void introduce() {
		System.out.println("姓名:" + this.name);
		System.out.println("性别:" + this.sex);
		System.out.println("年龄:" + this.age);
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public int getAge() {
		return age;
	}

	public void setAge(int age) {
		this.age = age;
	}
	
}
